package com.imooc.demo;

import java.math.BigDecimal;

/**
 * @Auther: 杨通通
 * @Date: 2021/11/3 21:46
 * @Description:
 */
public class test1 {
    public static void main(String[] args) {
//            BigDecimal x =new BigDecimal("1.1");
//        BigDecimal multiply = x.multiply(BigDecimal.valueOf(2.5));
//        System.out.println(x);
//        System.out.println(multiply.doubleValue());

        Integer i1 = new Integer(1);
        Integer i2 = new Integer(1);
        System.out.println(i1.equals(i2));
        System.out.println(i1 == i2);

        System.out.println(12+"1222");
    }


    public void sayHello(){
        int i = 1;
       if(i== 1){
           throw  new RuntimeException("mysll");
       }
    }
}